<?php
class Pageley_Query_Condition_GreaterThanOrEquals extends Pageley_Query_Condition_Single {
	
	public function __construct($propertyName, $value) {
		parent::__construct($propertyName, $value);
	}
	
	public function matches($entity) {
		return $entity->get($this->getPropertyName()) >= $this->getValue();
	}
	
	public function getOperator() {
		return ">=";
	}
}